package net.sf.ivyide.idea;

import com.intellij.openapi.module.ModifiableModuleModel;
import com.intellij.openapi.roots.ModifiableRootModel;
import com.intellij.openapi.roots.libraries.Library;

import java.util.List;
import java.util.Set;

public class CommitInfo {
    private List<ModifiableRootModel> m_moduleRootModels;
    private ModifiableModuleModel m_modulesModel;
    private Set<Library.ModifiableModel> libraryModelsToCommit;

    public CommitInfo(List<ModifiableRootModel> moduleRootModels, ModifiableModuleModel modulesModel, Set<Library.ModifiableModel> libraryModelsToCommit) {
        this.m_moduleRootModels = moduleRootModels;
        this.m_modulesModel = modulesModel;
        this.libraryModelsToCommit = libraryModelsToCommit;
    }

    public List<ModifiableRootModel> getModuleRootModels() {
        return m_moduleRootModels;
    }

    public void setModuleRootModels(List<ModifiableRootModel> moduleRootModels) {
        this.m_moduleRootModels = moduleRootModels;
    }

    public ModifiableModuleModel getModulesModel() {
        return m_modulesModel;
    }

    public void setM_modulesModel(ModifiableModuleModel modulesModel) {
        this.m_modulesModel = modulesModel;
    }

    public Set<Library.ModifiableModel> getLibraryModelsToCommit() {
        return libraryModelsToCommit;
    }
}